package com.guoxue.service.impl;

import com.guoxue.dao.IUserCoinsDao;
import com.guoxue.domain.UserCoinsVo;
import com.guoxue.service.IUserCoinsService;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class UserCoinsServiceImpl implements IUserCoinsService {

	@Resource
	private IUserCoinsDao userCoinsDao;

	public void saveUserCoins(UserCoinsVo userCoinsVo) {
		userCoinsDao.saveUserCoins(userCoinsVo);
	}

	public UserCoinsVo getUserCoinsById(int uid) {
		return userCoinsDao.getUserCoinsById(uid);
	}
}